﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
public class MainClass
{
    public static ServerState MainPanelServer;
    public static ServerState FighterServer=new ServerState();
    public static void Main()
    {
        MainPanelServer = Gateway.ConnectServer("127.0.0.1", 9000);
        Gateway.type2ss.Add(Gateway.ServerType.MainPanel, MainPanelServer);
        FighterServer = Gateway.ConnectServer("127.0.0.1", 9000);
        Gateway.type2ss.Add(Gateway.ServerType.Fighter, FighterServer);
        
        Gateway.StartServer("127.0.0.1", 8888);
        ////normalMsgDataBase.UpdateNormalData(new PlayerData { username = "father" });
        ////normalMsgDataBase.DeleteNormalData("father");
        ////Console.WriteLine(PlayerData.username + " " + normalData.password);
    }

}


